package com.mycat.chat.two;

import com.mycat.chat.two.socket.client.ChatClient;
import com.mycat.chat.two.ui.LoginWindow;

import java.io.IOException;

/**
 * 客户端启动程序
 *
 * @author roger.
 * @email 190642964@qq.com
 * @create 2017-02-27
 */
public class StartClient {

    public static void main(String[] args) {
        try {
            ChatClient chatClient = new ChatClient();
            new LoginWindow(chatClient);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
